﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Linq;
using System.Windows.Forms;
using DevExpress.XtraEditors;

namespace POS
{
    public partial class OrderEntryScreen : DevExpress.XtraEditors.XtraUserControl
    {
        public OrderEntryScreen()
        {
            InitializeComponent();
            listView1.BackColor = this.BackColor;
            listView1.ForeColor = this.ForeColor;

            lblServerName.Text = StaticProperties.ServerName;
            lblSelectedTable.Text = StaticProperties.TableName;
        }

        private void OrderEntryScreen_Load(object sender, EventArgs e)
        {
            panelControl1.Controls.Add(new MenuItemsButtons("DRINK"));
        }

        private void simpleButton2_Click(object sender, EventArgs e)
        {
            MainProgram._main.panelControl1.Controls.Clear();
            MainProgram._main.panelControl1.Controls.Add(new HomeScreen());
        }
    }
}
